package com.hsc.www.confimAndReturn;

import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserSender2 {
    @Autowired
    private RabbitTemplate template;

    public void send() {
        template.convertAndSend("", "fub", "UserSender2");
    }
}